import 'package:json_annotation/json_annotation.dart';
part 'life_subject_list_api.g.dart';

@JsonSerializable()
class ResponseLifeSubjectApi {
  final String id;
  final String? name;
  final String? status;
  final int? sort;

  ResponseLifeSubjectApi({
    required this.id,
    required this.name,
    required this.status,
    required this.sort,
  });

  factory ResponseLifeSubjectApi.fromJson(Map<String, dynamic> json) =>
      _$ResponseLifeSubjectApiFromJson(json);

  Map<String, dynamic> toJson() => _$ResponseLifeSubjectApiToJson(this);
}
